package ru.tatintec.gwttest.client.service;

import java.util.List;
import ru.tatintec.gwttest.shared.Employee;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("emplcatserv")
public interface EmployeeCatalogService extends RemoteService {
	
	// TODO add throws for all methods
	
	List<Employee> getEmployeeList() ;

	void createEmployee(Employee employee);
	
	void updateEmployee(Employee employee);
	
	void deleteEmployee(String employeeId);

	void generateTestData();

}
